package com.ligy;

import java.util.Scanner;

public class InputNumber {
  public static void main(String[] args) {
    System.out.println("请输入：");
    int num = new Scanner(System.in).nextInt();
    int ge = num % 10;
    int le = num / 10 % 10;
    int bai = num / 100 % 10;
    System.out.println("个位：" + ge);
    System.out.println("十位：" + le);
    System.out.println("百位：" + bai);
  }
}
